package com.news;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

//扫描包
@MapperScan("com.news.mapper")
@EnableSwagger2
@SpringBootApplication
public class NewsDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(NewsDemoApplication.class, args);
    }

}
